diff options
Diffstat (limited to 'scripts/extract-cert.c')
| -rw-r--r-- | scripts/extract-cert.c | 14 | 
1 files changed, 5 insertions, 9 deletions
diff --git a/scripts/extract-cert.c b/scripts/extract-cert.c index 10d23ca9f617..b071bf476fea 100644 --- a/scripts/extract-cert.c +++ b/scripts/extract-cert.c @@ -1,15 +1,15 @@  /* Extract X.509 certificate in DER form from PKCS#11 or PEM.   * - * Copyright © 2014 Red Hat, Inc. All Rights Reserved. - * Copyright © 2015 Intel Corporation. + * Copyright © 2014-2015 Red Hat, Inc. All Rights Reserved. + * Copyright © 2015      Intel Corporation.   *   * Authors: David Howells <dhowells@redhat.com>   *          David Woodhouse <dwmw2@infradead.org>   *   * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public Licence - * as published by the Free Software Foundation; either version - * 2 of the Licence, or (at your option) any later version. + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the licence, or (at your option) any later version.   */  #define _GNU_SOURCE  #include <stdio.h> @@ -17,13 +17,9 @@  #include <stdint.h>  #include <stdbool.h>  #include <string.h> -#include <getopt.h>  #include <err.h> -#include <arpa/inet.h>  #include <openssl/bio.h> -#include <openssl/evp.h>  #include <openssl/pem.h> -#include <openssl/pkcs7.h>  #include <openssl/err.h>  #include <openssl/engine.h>  | 
