Skip to content
Snippets Groups Projects
Commit 22b23653 authored by Niels Möller's avatar Niels Möller
Browse files

Include "getopt.h" instead of <unistd.h>.

Rev: src/nettle/examples/rsa-decrypt.c:1.5
Rev: src/nettle/examples/rsa-encrypt.c:1.6
Rev: src/nettle/examples/rsa-keygen.c:1.13
parent 25181c64
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,6 @@
#include <stdio.h>
#include <string.h>
/* For getopt */
#include <unistd.h>
/* string.h must be included before gmp.h */
#include "aes.h"
#include "bignum.h"
......@@ -48,6 +45,8 @@
#include "io.h"
#include "rsa-session.h"
#include "getopt.h"
void
rsa_session_set_decrypt_key(struct rsa_session *ctx,
const struct rsa_session_info *key)
......
......@@ -32,9 +32,6 @@
#include <stdio.h>
#include <string.h>
/* For getopt */
#include <unistd.h>
/* string.h must be included before gmp.h */
#include "bignum.h"
#include "buffer.h"
......@@ -45,6 +42,8 @@
#include "io.h"
#include "rsa-session.h"
#include "getopt.h"
void
rsa_session_set_encrypt_key(struct rsa_session *ctx,
const struct rsa_session_info *key)
......
......@@ -32,9 +32,6 @@
#include <stdio.h>
#include <string.h>
/* For getopt */
#include <unistd.h>
#include "buffer.h"
#include "rsa.h"
#include "sexp.h"
......@@ -42,6 +39,8 @@
#include "io.h"
#include "getopt.h"
#define KEYSIZE 900
#define ESIZE 30
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment