|
Revision 473
(checked in by rachel, 6 years ago)
|
Implemented write of Symmetric-Key Encrypted Session Key Packet
Implemented write of Literal Data packet
These packet types are needed for encryption.
|
| Line | |
|---|
| 1 |
#ifndef __TESTS__ |
|---|
| 2 |
#define __TESTS_ |
|---|
| 3 |
|
|---|
| 4 |
#include <assert.h> |
|---|
| 5 |
#include <stdio.h> |
|---|
| 6 |
#include <string.h> |
|---|
| 7 |
#include <stdlib.h> |
|---|
| 8 |
#include <unistd.h> |
|---|
| 9 |
#include <fcntl.h> |
|---|
| 10 |
#include <sys/stat.h> |
|---|
| 11 |
#include <sys/types.h> |
|---|
| 12 |
|
|---|
| 13 |
int mktmpdir(); |
|---|
| 14 |
extern char dir[]; |
|---|
| 15 |
void create_testtext(const char *text, char *buf, const int maxlen); |
|---|
| 16 |
#define MAXBUF 128 |
|---|
| 17 |
|
|---|
| 18 |
#endif |
|---|
| 19 |
|
|---|