libica/z90crypt
Nikolay Gueorguiev 4af0aa7796 - Applied patches (bsc#1231302, bsc#1231303, bsc#1231304, bsc#1231305)
* libica-01-fips-update-remove-sigVer-from-fips-ECDSA-kat.patch
  * libica-02-fips-update-Change-service-indicator-implementation.patch

OBS-URL: https://build.opensuse.org/package/show/security:tls/libica?expand=0&rev=24
2024-11-05 12:33:33 +00:00

22 lines
495 B
Bash

#!/bin/sh
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
MODULE_LIST="pkey zcrypt_pcixcc zcrypt_cex2a zcrypt_cex4 zcrypt rng_core"
case "${1}" in
start) for module in ${MODULE_LIST}
do if ! grep -q ^{$module} /proc/modules ; then
modprobe ${module}
fi
done
;;
stop) for module in ${MODULE_LIST}
do if grep -q ^${module} /proc/modules ; then
rmmod ${module}
fi
done
;;
esac