bsdkm: review cleanup.
This commit is contained in:
@@ -66,7 +66,6 @@ fips_hash=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
|
||||
placeholder.
|
||||
```sh
|
||||
$ sudo kldload bsdkm/libwolfssl.ko
|
||||
Password:
|
||||
kldload: an error occurred while loading module bsdkm/libwolfssl.ko. Please check dmesg(8) for more details.
|
||||
```
|
||||
|
||||
@@ -88,6 +87,11 @@ Id Refs Name
|
||||
523 1 libwolfssl_fips
|
||||
```
|
||||
|
||||
Unload with
|
||||
```
|
||||
sudo kldunload libwolfssl
|
||||
```
|
||||
|
||||
On unload, the FIPS self-test will run a final time and print its status
|
||||
to system message buffer:
|
||||
|
||||
|
||||
@@ -44,8 +44,9 @@
|
||||
* extern global version from /usr/src/sys/sys/systm.h */
|
||||
#define version wc_version
|
||||
|
||||
#define wc_km_printf printf
|
||||
#define wc_km_print_err printf
|
||||
/* printf and logging defines */
|
||||
#define wc_km_printf printf
|
||||
#define WOLFSSL_DEBUG_PRINTF_FN printf
|
||||
|
||||
/* str and char utility functions */
|
||||
#define XATOI(s) ({ \
|
||||
|
||||
@@ -1430,8 +1430,6 @@
|
||||
#endif
|
||||
#define printf(...) wc_km_printf(__VA_ARGS__)
|
||||
|
||||
#define wc_km_print_err pr_err
|
||||
|
||||
#ifdef HAVE_FIPS
|
||||
extern void fipsEntry(void);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user