Skip to content
Permalink
Browse files
Fix arguments to gnutls_pubkey_verify_data2
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
nmav authored and David Woodhouse committed Feb 13, 2013
1 parent ffa6125 commit f2cad50326f369463015d36615358fb938da9bc4
Showing with 2 additions and 1 deletion.
  1. +1 −1 gnutls.c
  2. +1 −0 www/changelog.xml
@@ -1368,7 +1368,7 @@ static int load_certificate(struct openconnect_info *vpninfo)
gnutls_pubkey_deinit(pubkey);
continue;
}
err = gnutls_pubkey_verify_data2(pubkey, 0, algo, &fdata, &pkey_sig);
err = gnutls_pubkey_verify_data2(pubkey, algo, 0, &fdata, &pkey_sig);
gnutls_pubkey_deinit(pubkey);

if (err >= 0) {
@@ -18,6 +18,7 @@
<li><b>OpenConnect HEAD</b>
<ul>
<li>Use GnuTLS by default instead of OpenSSL.</li>
<li>Avoid using deprecated <tt>gnutls_pubkey_verify_data()</tt> function..</li>
</ul><br/>
</li>
<li><b><a href="ftp://ftp.infradead.org/pub/openconnect/openconnect-4.99.tar.gz">OpenConnect v4.99</a></b>

0 comments on commit f2cad50

Please sign in to comment.