diff options
author | jsing <> | 2017-08-28 17:50:58 +0000 |
---|---|---|
committer | jsing <> | 2017-08-28 17:50:58 +0000 |
commit | 40d7d7ab8de2b0401afae410d94122b16c0700c0 (patch) | |
tree | cd1d0de20cd1c89a5212c1370f3dfef178849f9f | |
parent | e55fbaede350124a80607d804efa364b687a7416 (diff) | |
download | openbsd-40d7d7ab8de2b0401afae410d94122b16c0700c0.tar.gz openbsd-40d7d7ab8de2b0401afae410d94122b16c0700c0.tar.bz2 openbsd-40d7d7ab8de2b0401afae410d94122b16c0700c0.zip |
Remove SSLv23 padding mode.
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/openssl.1 | 8 | ||||
-rw-r--r-- | src/usr.bin/openssl/rsautl.c | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1 index acefa16c93..58f88d021f 100644 --- a/src/usr.bin/openssl/openssl.1 +++ b/src/usr.bin/openssl/openssl.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: openssl.1,v 1.85 2017/05/16 04:55:27 tb Exp $ | 1 | .\" $OpenBSD: openssl.1,v 1.86 2017/08/28 17:50:58 jsing Exp $ |
2 | .\" ==================================================================== | 2 | .\" ==================================================================== |
3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -112,7 +112,7 @@ | |||
112 | .\" | 112 | .\" |
113 | .\" OPENSSL | 113 | .\" OPENSSL |
114 | .\" | 114 | .\" |
115 | .Dd $Mdocdate: May 16 2017 $ | 115 | .Dd $Mdocdate: August 28 2017 $ |
116 | .Dt OPENSSL 1 | 116 | .Dt OPENSSL 1 |
117 | .Os | 117 | .Os |
118 | .Sh NAME | 118 | .Sh NAME |
@@ -3508,7 +3508,7 @@ Print the public/private key components in plain text. | |||
3508 | .Op Fl in Ar file | 3508 | .Op Fl in Ar file |
3509 | .Op Fl inkey Ar file | 3509 | .Op Fl inkey Ar file |
3510 | .Op Fl keyform Cm der | pem | 3510 | .Op Fl keyform Cm der | pem |
3511 | .Op Fl oaep | pkcs | raw | ssl | 3511 | .Op Fl oaep | pkcs | raw |
3512 | .Op Fl out Ar file | 3512 | .Op Fl out Ar file |
3513 | .Op Fl pubin | 3513 | .Op Fl pubin |
3514 | .Op Fl sign | 3514 | .Op Fl sign |
@@ -3543,7 +3543,7 @@ The input key file; by default an RSA private key. | |||
3543 | The private key format. | 3543 | The private key format. |
3544 | The default is | 3544 | The default is |
3545 | .Cm pem . | 3545 | .Cm pem . |
3546 | .It Fl oaep | pkcs | raw | ssl | 3546 | .It Fl oaep | pkcs | raw |
3547 | The padding to use: | 3547 | The padding to use: |
3548 | PKCS#1 OAEP, PKCS#1 v1.5 (the default), or no padding, respectively. | 3548 | PKCS#1 OAEP, PKCS#1 v1.5 (the default), or no padding, respectively. |
3549 | For signatures, only | 3549 | For signatures, only |
diff --git a/src/usr.bin/openssl/rsautl.c b/src/usr.bin/openssl/rsautl.c index 48f739135a..1c22e5df0f 100644 --- a/src/usr.bin/openssl/rsautl.c +++ b/src/usr.bin/openssl/rsautl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsautl.c,v 1.11 2017/01/20 08:57:12 deraadt Exp $ */ | 1 | /* $OpenBSD: rsautl.c,v 1.12 2017/08/28 17:50:58 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -148,8 +148,6 @@ rsautl_main(int argc, char **argv) | |||
148 | pad = RSA_NO_PADDING; | 148 | pad = RSA_NO_PADDING; |
149 | else if (!strcmp(*argv, "-oaep")) | 149 | else if (!strcmp(*argv, "-oaep")) |
150 | pad = RSA_PKCS1_OAEP_PADDING; | 150 | pad = RSA_PKCS1_OAEP_PADDING; |
151 | else if (!strcmp(*argv, "-ssl")) | ||
152 | pad = RSA_SSLV23_PADDING; | ||
153 | else if (!strcmp(*argv, "-pkcs")) | 151 | else if (!strcmp(*argv, "-pkcs")) |
154 | pad = RSA_PKCS1_PADDING; | 152 | pad = RSA_PKCS1_PADDING; |
155 | else if (!strcmp(*argv, "-x931")) | 153 | else if (!strcmp(*argv, "-x931")) |