projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use constant value 1 instead of SHUT_WR in do_server
[openssl.git]
/
apps
/
pkcs8.c
diff --git
a/apps/pkcs8.c
b/apps/pkcs8.c
index ea0e8567dacfd8fe61b68badb52c7b8ae523bd19..dfc23e5b59bde147d5788cfae438d69e2dcd49e1 100644
(file)
--- a/
apps/pkcs8.c
+++ b/
apps/pkcs8.c
@@
-245,7
+245,7
@@
int pkcs8_main(int argc, char **argv)
#ifndef OPENSSL_NO_UI_CONSOLE
p8pass = pass;
if (EVP_read_pw_string
#ifndef OPENSSL_NO_UI_CONSOLE
p8pass = pass;
if (EVP_read_pw_string
- (pass, sizeof
pass
, "Enter Encryption Password:", 1)) {
+ (pass, sizeof
(pass)
, "Enter Encryption Password:", 1)) {
X509_ALGOR_free(pbe);
goto end;
}
X509_ALGOR_free(pbe);
goto end;
}
@@
-305,7
+305,7
@@
int pkcs8_main(int argc, char **argv)
} else if (1) {
#ifndef OPENSSL_NO_UI_CONSOLE
p8pass = pass;
} else if (1) {
#ifndef OPENSSL_NO_UI_CONSOLE
p8pass = pass;
- if (EVP_read_pw_string(pass, sizeof
pass
, "Enter Password:", 0)) {
+ if (EVP_read_pw_string(pass, sizeof
(pass)
, "Enter Password:", 0)) {
BIO_printf(bio_err, "Can't read Password\n");
goto end;
}
BIO_printf(bio_err, "Can't read Password\n");
goto end;
}