Loading crypto/engine/eng_cryptodev.c +4 −1 Original line number Diff line number Diff line Loading @@ -1055,14 +1055,17 @@ ENGINE_load_cryptodev(void) if (engine == NULL) return; if ((fd = get_dev_crypto()) < 0) if ((fd = get_dev_crypto()) < 0) { ENGINE_free(engine); return; } /* * find out what asymmetric crypto algorithms we support */ if (ioctl(fd, CIOCASYMFEAT, &cryptodev_asymfeat) == -1) { close(fd); ENGINE_free(engine); return; } close(fd); Loading Loading
crypto/engine/eng_cryptodev.c +4 −1 Original line number Diff line number Diff line Loading @@ -1055,14 +1055,17 @@ ENGINE_load_cryptodev(void) if (engine == NULL) return; if ((fd = get_dev_crypto()) < 0) if ((fd = get_dev_crypto()) < 0) { ENGINE_free(engine); return; } /* * find out what asymmetric crypto algorithms we support */ if (ioctl(fd, CIOCASYMFEAT, &cryptodev_asymfeat) == -1) { close(fd); ENGINE_free(engine); return; } close(fd); Loading