-Version 1.0.3
+Version 1.0.3 (21/12/2003)
- Corrected bug in gnutls_bye() which made it return an error code
of INVALID_REQUEST instead of success.
- Corrected a bug in the GNUTLS_KEY key usage definitions.
dnl Gnutls Version
GNUTLS_MAJOR_VERSION=1
GNUTLS_MINOR_VERSION=0
-GNUTLS_MICRO_VERSION=2
+GNUTLS_MICRO_VERSION=3
GNUTLS_VERSION=$GNUTLS_MAJOR_VERSION.$GNUTLS_MINOR_VERSION.$GNUTLS_MICRO_VERSION
AC_DEFINE_UNQUOTED(GNUTLS_VERSION, "$GNUTLS_VERSION", [version of gnutls])
int extnValueLen)
{
ASN1_TYPE ext = ASN1_TYPE_EMPTY;
- char str[10];
+ uint8 str[2];
int len, result;
- keyUsage[0] = 0;
+ *keyUsage = 0;
if ((result=asn1_create_element
(_gnutls_get_pkix(), "PKIX1.KeyUsage", &ext
return 0;
}
- len = sizeof(str) - 1;
+ len = sizeof(str);
result = asn1_read_value(ext, "", str, &len);
if (result != ASN1_SUCCESS) {
gnutls_assert();
return 0;
}
- keyUsage[0] = str[0];
+ *keyUsage = str[0] | (str[1] << 8);
asn1_delete_structure(&ext);