X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fopenbsd_hw.c;h=7de06ba171d10def87f2968466b7aebe948eb324;hp=abe687ddd249d4822850c981fde303e00eb72d99;hb=0e36019977e78c34d6ea67b943fe17d4a01e769d;hpb=1ba01caaa33f93b27b7ce83cfe5ea8dcdc36546f;ds=sidebyside diff --git a/crypto/evp/openbsd_hw.c b/crypto/evp/openbsd_hw.c index abe687ddd2..7de06ba171 100644 --- a/crypto/evp/openbsd_hw.c +++ b/crypto/evp/openbsd_hw.c @@ -1,5 +1,6 @@ +/* Written by Ben Laurie, 2001 */ /* - * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. + * Copyright (c) 2001 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -106,7 +107,7 @@ static int dev_crypto_init(EVP_CIPHER_CTX *ctx) static int dev_crypto_cleanup(EVP_CIPHER_CTX *ctx) { - if(ioctl(fd,CIOCFSESSION,data(ctx)->ses) == -1) + if(ioctl(fd,CIOCFSESSION,&data(ctx)->ses) == -1) err("CIOCFSESSION failed"); OPENSSL_free(data(ctx)->key);