fix link regression, use EVP_DigestFinal_ex
This commit is contained in:
@@ -202,7 +202,7 @@ make_sasl_name(OM_uint32 *minor, const gss_OID mech, char sasl_name[16])
|
|||||||
EVP_DigestInit_ex(ctx, EVP_sha1(), NULL);
|
EVP_DigestInit_ex(ctx, EVP_sha1(), NULL);
|
||||||
EVP_DigestUpdate(ctx, hdr, 2);
|
EVP_DigestUpdate(ctx, hdr, 2);
|
||||||
EVP_DigestUpdate(ctx, mech->elements, mech->length);
|
EVP_DigestUpdate(ctx, mech->elements, mech->length);
|
||||||
EVP_DigestFinal(ctx, hash, NULL);
|
EVP_DigestFinal_ex(ctx, hash, NULL);
|
||||||
|
|
||||||
memcpy(p, "GS2-", 4);
|
memcpy(p, "GS2-", 4);
|
||||||
p += 4;
|
p += 4;
|
||||||
|
Reference in New Issue
Block a user