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 13:12:14 +0000 (14:12 +0100)
(cherry picked from commit 3820fec3a09faecba7fe9912aa20ef7fcda8337b)

crypto/rsa/rsa_ameth.c

index 5a2062f903ae8bcb02d82ae21c4766f534e52271..4c8ecd9233e1908f3622bba39ed2c26b01a86509 100644 (file)
@@ -358,7 +358,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");