Fix crash on signature handling

Since we only call NSS_Init once, we should only call NSS_Shutdown once.

Do it via atexit

Fixes issue #766
1 file changed