From 4914d50c731a8240c93cb2303e70ead50471558c Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Fri, 22 Apr 2022 15:26:47 +0100 Subject: [PATCH] Fix spelling error in generated helper code Also a minor comment fix in the generator script. Signed-off-by: Dave Rodgman --- scripts/generate_ssl_debug_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate_ssl_debug_helpers.py b/scripts/generate_ssl_debug_helpers.py index 4babd0855..42e4fc82d 100755 --- a/scripts/generate_ssl_debug_helpers.py +++ b/scripts/generate_ssl_debug_helpers.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -"""Generate library/ssl_debug_helps_generated.c +"""Generate library/ssl_debug_helpers_generated.c The code generated by this module includes debug helper functions that can not be implemented by fixed codes. @@ -224,7 +224,7 @@ class EnumDefinition: if( in > ( sizeof( in_to_str )/sizeof( in_to_str[0]) - 1 ) || in_to_str[ in ] == NULL ) {{ - return "UNKOWN_VAULE"; + return "UNKNOWN_VALUE"; }} return in_to_str[ in ]; }}