Another small bug fix. Notified by cipo <cseplo_l@netlock.net>

This commit is contained in:
Richard Levitte 2004-04-20 10:27:03 +00:00
parent d2fca2c59a
commit a6b8e925bc

View file

@ -465,7 +465,10 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout,
}
BIO_printf(out, "\n");
}
BIO_set_md_ctx(bmd,md_ctx);
if (hmac_key)
{
BIO_set_md_ctx(bmd,md_ctx);
}
return 0;
}