diff options
author | jsing <> | 2022-12-23 02:22:58 +0000 |
---|---|---|
committer | jsing <> | 2022-12-23 02:22:58 +0000 |
commit | 810f7185c0506d132dd79c64e678248412974254 (patch) | |
tree | f7855d9076e2311d1ab3363a5cc285c928ddeb30 /src/lib | |
parent | 4ed2a95a81d6732d2b435a025503ec360868ffbb (diff) | |
download | openbsd-810f7185c0506d132dd79c64e678248412974254.tar.gz openbsd-810f7185c0506d132dd79c64e678248412974254.tar.bz2 openbsd-810f7185c0506d132dd79c64e678248412974254.zip |
Remove unhelpful comment.
Remove a comment that tells you not to call a function that internally
calls free, with a stack allocated pointer...
ok tb@
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/ui/ui_lib.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/ui/ui_lib.c b/src/lib/libcrypto/ui/ui_lib.c index f7398330e3..69428f9a2a 100644 --- a/src/lib/libcrypto/ui/ui_lib.c +++ b/src/lib/libcrypto/ui/ui_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ui_lib.c,v 1.46 2022/11/26 16:08:54 tb Exp $ */ | 1 | /* $OpenBSD: ui_lib.c,v 1.47 2022/12/23 02:22:58 jsing Exp $ */ |
2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -574,11 +574,6 @@ UI_create_method(const char *name) | |||
574 | } | 574 | } |
575 | LCRYPTO_ALIAS(UI_create_method) | 575 | LCRYPTO_ALIAS(UI_create_method) |
576 | 576 | ||
577 | /* | ||
578 | * BIG FSCKING WARNING!!!! If you use this on a statically allocated method | ||
579 | * (that is, it hasn't been allocated using UI_create_method(), you deserve | ||
580 | * anything Murphy can throw at you and more! You have been warned. | ||
581 | */ | ||
582 | void | 577 | void |
583 | UI_destroy_method(UI_METHOD *ui_method) | 578 | UI_destroy_method(UI_METHOD *ui_method) |
584 | { | 579 | { |