Commit d0ee717c authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix style issues in HMAC_size()



Based on review feedback.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent f0ca8f89
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -119,9 +119,8 @@ int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len)
size_t HMAC_size(const HMAC_CTX *ctx)
{
    int size = EVP_MD_size((ctx)->md);
    if (size < 0)
        return 0;
    return size;

    return (size < 0) ? 0 : size;
}

HMAC_CTX *HMAC_CTX_new(void)