rsa_ameth.c (238405) | rsa_ameth.c (261037) |
---|---|
1/* crypto/rsa/rsa_ameth.c */ 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * project 2006. 4 */ 5/* ==================================================================== 6 * Copyright (c) 2006 The OpenSSL Project. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 337 unchanged lines hidden (view full) --- 346 goto err; 347 } 348 else if (BIO_puts(bp, "mgf1 with sha1 (default)") <= 0) 349 goto err; 350 BIO_puts(bp, "\n"); 351 352 if (!BIO_indent(bp, indent, 128)) 353 goto err; | 1/* crypto/rsa/rsa_ameth.c */ 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * project 2006. 4 */ 5/* ==================================================================== 6 * Copyright (c) 2006 The OpenSSL Project. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 337 unchanged lines hidden (view full) --- 346 goto err; 347 } 348 else if (BIO_puts(bp, "mgf1 with sha1 (default)") <= 0) 349 goto err; 350 BIO_puts(bp, "\n"); 351 352 if (!BIO_indent(bp, indent, 128)) 353 goto err; |
354 if (BIO_puts(bp, "Salt Length: ") <= 0) | 354 if (BIO_puts(bp, "Salt Length: 0x") <= 0) |
355 goto err; 356 if (pss->saltLength) 357 { 358 if (i2a_ASN1_INTEGER(bp, pss->saltLength) <= 0) 359 goto err; 360 } | 355 goto err; 356 if (pss->saltLength) 357 { 358 if (i2a_ASN1_INTEGER(bp, pss->saltLength) <= 0) 359 goto err; 360 } |
361 else if (BIO_puts(bp, "20 (default)") <= 0) | 361 else if (BIO_puts(bp, "0x14 (default)") <= 0) |
362 goto err; 363 BIO_puts(bp, "\n"); 364 365 if (!BIO_indent(bp, indent, 128)) 366 goto err; | 362 goto err; 363 BIO_puts(bp, "\n"); 364 365 if (!BIO_indent(bp, indent, 128)) 366 goto err; |
367 if (BIO_puts(bp, "Trailer Field: ") <= 0) | 367 if (BIO_puts(bp, "Trailer Field: 0x") <= 0) |
368 goto err; 369 if (pss->trailerField) 370 { 371 if (i2a_ASN1_INTEGER(bp, pss->trailerField) <= 0) 372 goto err; 373 } | 368 goto err; 369 if (pss->trailerField) 370 { 371 if (i2a_ASN1_INTEGER(bp, pss->trailerField) <= 0) 372 goto err; 373 } |
374 else if (BIO_puts(bp, "0xbc (default)") <= 0) | 374 else if (BIO_puts(bp, "BC (default)") <= 0) |
375 goto err; 376 BIO_puts(bp, "\n"); 377 378 rv = 1; 379 380 err: 381 return rv; 382 --- 316 unchanged lines hidden --- | 375 goto err; 376 BIO_puts(bp, "\n"); 377 378 rv = 1; 379 380 err: 381 return rv; 382 --- 316 unchanged lines hidden --- |