MCPcopy Create free account
hub / github.com/corosync/corosync / handle_crypto_model

Function handle_crypto_model

exec/coroparse.c:606–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604}
605
606static int handle_crypto_model(const char *val, const char **error_string)
607{
608
609 if (util_is_valid_knet_crypto_model(val, NULL, 0,
610 "Invalid crypto model. Should be ", error_string) == 1) {
611 return (0);
612 } else {
613 return (-1);
614 }
615}
616
617static int handle_compress_model(const char *val, const char **error_string)
618{

Callers 1

main_config_parser_cbFunction · 0.85

Calls 1

Tested by

no test coverage detected