Skip to content

Commit

Permalink
push symlink with trailing slash?
Browse files Browse the repository at this point in the history
  • Loading branch information
acagliano committed Sep 6, 2024
1 parent 41d1a1d commit 86b37c1
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 79 deletions.
2 changes: 1 addition & 1 deletion src/core/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

bool mem_inited = false;

void *function_unset(size_t size __attribute__((unsued))){
void *function_unset(size_t size __attribute__((unused))){
LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("internal_error: user malloc/free unset\n"));
return NULL;
}
Expand Down
73 changes: 0 additions & 73 deletions src/tls/core/sha256hw.c

This file was deleted.

4 changes: 3 additions & 1 deletion src/tls/includes/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/** @enum Implemented hash algorithms. */
enum _hash_algorithms {
TLS_HASH_SHA256,
TLS_HASH_SHA256HW
// TLS_HASH_SHA256HW
};

/** @struct Defines context structure for SHA-256. */
Expand All @@ -34,9 +34,11 @@ void tls_sha256_update(struct tls_sha256_context *ctx, const uint8_t *data, size
void tls_sha256_digest(struct tls_sha256_context *ctx, uint8_t *digest);

/** init, update, and digest functions for the TI-84+ SHA-256 accelerator. */
/*
bool tls_sha256hw_init(struct tls_sha256_context *ctx);
void tls_sha256hw_update(struct tls_sha256_context *ctx, const uint8_t *data, size_t len);
void tls_sha256hw_digest(struct tls_sha256_context *ctx, uint8_t *digest);
*/

/** @struct Defines generic hash context. */
struct tls_hash_context {
Expand Down
5 changes: 3 additions & 2 deletions tests/tls_hash/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ ARCHIVED = NO
DESCRIPTION = "tls_hash test"
COMPRESSED = NO

CFLAGS = -Wall -Wextra -Oz
CXXFLAGS = -Wall -Wextra -Oz
CFLAGS = -Wall -Wextra -Oz -Isrc/include
CXXFLAGS = -Wall -Wextra -Oz -Isrc/include

# ----------------------------
HEADER_DIRS := src/include $(HEADER_DIRS)

include $(shell cedev-config --makefile)
3 changes: 3 additions & 0 deletions tests/tls_hash/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <time.h>
#include <debug.h>

#include "tls/includes/hash.h"

Expand Down Expand Up @@ -59,5 +61,6 @@ int main(void)
else printf("failed");
os_GetKey();
os_ClrHome();

return 0;
}
2 changes: 1 addition & 1 deletion tests/tls_private_key_object/src/core
2 changes: 1 addition & 1 deletion tests/tls_private_key_object/src/include

0 comments on commit 86b37c1

Please sign in to comment.