#include <string.h>
#include <openssl/opensslconf.h>
#include <openssl/err.h>
-#include "../apps/apps.h"
+#include "apps.h"
#include "testutil.h"
/* apps/apps.c depend on these */
static int test_pem_password_cb(char *buf, int size, int rwflag, void *userdata)
{
OPENSSL_strlcpy(buf, (char *)userdata, (size_t)size);
- return 1;
+ return strlen(buf);
}
/*