projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix source where indent will not be able to cope
[oweals/openssl.git]
/
crypto
/
ui
/
ui_lib.c
diff --git
a/crypto/ui/ui_lib.c
b/crypto/ui/ui_lib.c
index 167da002d24c7197b85e0bef250cf84b98ec973a..41bc926ca4c6ec15a2901d3177a89bbbd5e68540 100644
(file)
--- a/
crypto/ui/ui_lib.c
+++ b/
crypto/ui/ui_lib.c
@@
-431,6
+431,8
@@
char *UI_construct_prompt(UI *ui, const char *object_desc,
len += sizeof(prompt3) - 1;
prompt = (char *)OPENSSL_malloc(len + 1);
+ if (prompt == NULL)
+ return NULL;
BUF_strlcpy(prompt, prompt1, len + 1);
BUF_strlcat(prompt, object_desc, len + 1);
if (object_name)