< prev index next >

src/jdk.crypto.ec/share/native/libsunec/impl/ec.c

Print this page
rev 16201 : 8170525: Fix minor issues in AWT/ECC/PKCS11 coding
Reviewed-by: vinnie, clanger, prr, ssadetsky

*** 1,7 **** /* ! * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either --- 1,7 ---- /* ! * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either
*** 32,42 **** * * Contributor(s): * Dr Vipul Gupta <vipul.gupta@sun.com> and * Douglas Stebila <douglas@stebila.ca>, Sun Microsystems Laboratories * ! * Last Modified Date from the Original Code: April 2015 *********************************************************************** */ #include "mplogic.h" #include "ec.h" #include "ecl.h" --- 32,42 ---- * * Contributor(s): * Dr Vipul Gupta <vipul.gupta@sun.com> and * Douglas Stebila <douglas@stebila.ca>, Sun Microsystems Laboratories * ! * Last Modified Date from the Original Code: Nov 2016 *********************************************************************** */ #include "mplogic.h" #include "ec.h" #include "ecl.h"
*** 256,265 **** --- 256,266 ---- int len; #if EC_DEBUG printf("ec_NewKey called\n"); #endif + k.dp = (mp_digit*)NULL; if (!ecParams || !privKey || !privKeyBytes || (privKeyLen < 0)) { PORT_SetError(SEC_ERROR_INVALID_ARGS); return SECFailure; }
< prev index next >