diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-04-05 16:52:39 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-04-05 16:52:39 +0000 |
commit | 170c4949cefb866a94ffaba6a56ba7239d2391ef (patch) | |
tree | 8c6a94b17f1cb1f082eb68c92b8174efa8c7c891 | |
parent | 502bfb0a5a816e9e7523df280545d0f7a6b41c62 (diff) | |
download | gnutls-170c4949cefb866a94ffaba6a56ba7239d2391ef.tar.gz |
*** empty log message ***
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/x509/x509_write.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -4,6 +4,8 @@ Copyright (C) 2000, 2001, 2002, 2003, 2004 Nikos Mavroyanopoulos See the end for copying conditions. * Version 1.2.2 +- gnutls_error_to_alert() now considers + GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET. * Version 1.2.1 (2005-04-04) - gnutls_bye() will no longer fail when RDWR is used and application diff --git a/lib/x509/x509_write.c b/lib/x509/x509_write.c index 391805a7b9..3bf0c2d18b 100644 --- a/lib/x509/x509_write.c +++ b/lib/x509/x509_write.c @@ -248,7 +248,7 @@ int gnutls_x509_crt_set_extension_by_oid(gnutls_x509_crt_t crt, unsigned int critical) { int result; - gnutls_datum_t der_data = {buf, sizeof_buf}; + gnutls_datum_t der_data = {(void*)buf, sizeof_buf}; if (crt == NULL) { gnutls_assert(); |