Add EVP_PKEY_gettable_params support for accessing EVP_PKEY key data fields
[openssl.git] / crypto / alphacpuid.pl
index 6c7fd4c9dd3dd1dbd19a9c93141f44e6e6295716..681b11877cbf2a04b610bac07f50bea45692112a 100644 (file)
@@ -1,14 +1,13 @@
 #! /usr/bin/env perl
 # Copyright 2010-2016 The OpenSSL Project Authors. All Rights Reserved.
 #
-# Licensed under the OpenSSL license (the "License").  You may not use
+# Licensed under the Apache License 2.0 (the "License").  You may not use
 # this file except in compliance with the License.  You can obtain a copy
 # in the file LICENSE in the source distribution or at
 # https://www.openssl.org/source/license.html
 
 
-$output = pop;
-open STDOUT,">$output";
+$output = pop and open STDOUT,">$output";
 
 print <<'___';
 .text
@@ -254,4 +253,4 @@ OPENSSL_instrument_bus2:
 ___
 }
 
-close STDOUT;
+close STDOUT or die "error closing STDOUT: $!";