diff -Nru openvpn-2.1.0+git20100625/debian/changelog openvpn-2.1.0+git20100626/debian/changelog --- openvpn-2.1.0+git20100625/debian/changelog 2010-06-25 01:39:48.000000000 +0100 +++ openvpn-2.1.0+git20100626/debian/changelog 2010-06-29 00:55:20.000000000 +0100 @@ -1,4 +1,10 @@ -openvpn (2.1.0+git20100625-3) lucid; urgency=low +openvpn (2.1.0+git20100626-1) unstable; urgency=low + + * upgrade to latest openvpn-testing + + -- Bernhard Schmidt Tue, 29 Jun 2010 01:55:05 +0200 + +openvpn (2.1.0+git20100625-3) unstable; urgency=low * explicitly set path to ip-utility diff -Nru openvpn-2.1.0+git20100625/ssl.c openvpn-2.1.0+git20100626/ssl.c --- openvpn-2.1.0+git20100625/ssl.c 2010-06-17 20:47:34.000000000 +0100 +++ openvpn-2.1.0+git20100626/ssl.c 2010-06-26 12:59:09.000000000 +0100 @@ -779,7 +779,7 @@ string_replace_leading (subject, '-', '_'); /* extract the username (default is CN) */ - if (!extract_x509_field_ssl (X509_get_subject_name (ctx->current_cert), x509_username_field, common_name, TLS_USERNAME_LEN)) + if (!extract_x509_field_ssl (X509_get_subject_name (ctx->current_cert), x509_username_field, common_name, sizeof(common_name))) { if (!ctx->error_depth) {