summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2022-12-23 02:22:58 +0000
committerjsing <>2022-12-23 02:22:58 +0000
commit810f7185c0506d132dd79c64e678248412974254 (patch)
treef7855d9076e2311d1ab3363a5cc285c928ddeb30
parent4ed2a95a81d6732d2b435a025503ec360868ffbb (diff)
downloadopenbsd-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@
-rw-r--r--src/lib/libcrypto/ui/ui_lib.c7
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}
575LCRYPTO_ALIAS(UI_create_method) 575LCRYPTO_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 */
582void 577void
583UI_destroy_method(UI_METHOD *ui_method) 578UI_destroy_method(UI_METHOD *ui_method)
584{ 579{