Skip to content

Commit 255ae39

Browse files
author
gojimmypi
committed
cert gen sm lf fix
1 parent 9d3b8f9 commit 255ae39

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

gencertbuf.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# output C header file to write cert/key buffers to
1616
my $outputFile = "./wolfssl/certs_test.h";
17-
my $outputFileSM = "./wolfssl/certs_test_sm_dev.h";
17+
my $outputFileSM = "./wolfssl/certs_test_sm.h";
1818

1919
# ecc keys and certs to be converted
2020
# Used with HAVE_ECC && USE_CERT_BUFFERS_256
@@ -2248,8 +2248,8 @@
22482248
print OUT_FILE_SM "#define sizeof_$sname (sizeof($sname))\n\n";
22492249
}
22502250

2251-
print OUT_FILE_SM "#endif /* WOLFSSL_SM2 || WOLFSSL_SM3 || WOLFSSL_SM4 */";
2252-
print OUT_FILE_SM "#endif /* WOLFSSL_CERTS_TEST_SM_H */";
2251+
print OUT_FILE_SM "#endif /* WOLFSSL_SM2 || WOLFSSL_SM3 || WOLFSSL_SM4 */\n";
2252+
print OUT_FILE_SM "#endif /* WOLFSSL_CERTS_TEST_SM_H */\n";
22532253

22542254
# close certs_test_sm.h file
22552255
close OUT_FILE_SM or die $!;

0 commit comments

Comments
 (0)