From: basney Date: Fri, 27 Feb 2009 14:59:29 +0000 (+0000) Subject: fix another AIX build problem X-Git-Tag: OPENSSH_5_2P1_GSSAPI_20090401~2 X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/commitdiff_plain/48eb121209c8235fd433f2d941654bde9f5b427f fix another AIX build problem --- diff --git a/openssh/schnorr.c b/openssh/schnorr.c index 5469750..fedd5fa 100644 --- a/openssh/schnorr.c +++ b/openssh/schnorr.c @@ -91,7 +91,7 @@ schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g, SCHNORR_DEBUG_BUF((buffer_ptr(&b), buffer_len(&b), "%s: hashblob", __func__)); - if (hash_buffer(buffer_ptr(&b), buffer_len(&b), EVP_sha256(), + if (hash_buffer(buffer_ptr(&b), (const EVP_MD *)buffer_len(&b), EVP_sha256(), &digest, &digest_len) != 0) { error("%s: hash_buffer", __func__); goto out;