diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-01-08 14:20:51 +0000 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-01-08 14:20:51 +0000 |
commit | 37b72cb8bf28067fa52722a54c23c77937e60b8c (patch) | |
tree | 3015581edc3374f03fb0ddcd6313d07a29f9b290 | |
parent | a33776ac705327e29ded0ca4cb91ed9c4e0929b7 (diff) | |
parent | d4c71de98168c4173ebb2daf5df7a9746ba929f8 (diff) | |
download | gnutls-37b72cb8bf28067fa52722a54c23c77937e60b8c.tar.gz |
Merge branch 'gnutls_write_new_general_fix' into 'master'
Fix _gnutls_write_new_general_name() result checking
See merge request gnutls/gnutls!866
-rw-r--r-- | lib/x509/x509_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c index 8213c6e427..ffc05bc0a3 100644 --- a/lib/x509/x509_ext.c +++ b/lib/x509/x509_ext.c @@ -1052,7 +1052,7 @@ int gnutls_x509_ext_export_authority_key_id(gnutls_x509_aki_t aki, san.data, aki->cert_issuer. names[i].san.size); - if (result < 0) { + if (ret < 0) { gnutls_assert(); goto cleanup; } |