diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-10-17 18:10:24 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-10-17 18:10:24 +0000 |
commit | 7292a096b770c877e59c98faa3324e580189ae42 (patch) | |
tree | c0c3f2ad3be4c3ca0d2d0889d1a97398cd84a01a | |
parent | 622d0e3e5199e1b6447866f800d44bfebe7991d9 (diff) | |
download | gnutls-7292a096b770c877e59c98faa3324e580189ae42.tar.gz |
corrected bug in _gnutls_x509_get_dn_oid().
-rw-r--r-- | lib/x509/dn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/dn.c b/lib/x509/dn.c index 006d01ddb0..20b6fa49e4 100644 --- a/lib/x509/dn.c +++ b/lib/x509/dn.c @@ -570,7 +570,7 @@ int _gnutls_x509_get_dn_oid(ASN1_TYPE asn1_struct, return GNUTLS_E_SHORT_MEMORY_BUFFER; } - memcpy(oid, _oid, len); + memcpy(_oid, oid, len); *sizeof_oid = len - 1; return 0; |