remove duplicate 0x for default RSASSA-PSS salt len
authorMartin Kaiser <martin@kaiser.cx>
Wed, 28 May 2014 09:16:06 +0000 (11:16 +0200)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 29 May 2014 12:32:41 +0000 (13:32 +0100)
(cherry picked from commit 3820fec3a09faecba7fe9912aa20ef7fcda8337b)

crypto/rsa/rsa_ameth.c

index 929193b4fa518ae5268d413dffbb25a183fa4c91..c317e8a5dee88d0f1f0fa28d827c1713b75705ad 100644 (file)
@@ -370,7 +370,7 @@ static int rsa_pss_param_print(BIO *bp, RSA_PSS_PARAMS *pss,
                if (i2a_ASN1_INTEGER(bp, pss->saltLength) <= 0)
                        goto err;
                }
-       else if (BIO_puts(bp, "0x14 (default)") <= 0)
+       else if (BIO_puts(bp, "14 (default)") <= 0)
                goto err;
        BIO_puts(bp, "\n");