Skip to content

Commit

Permalink
Merge pull request #26 from ESPINS/master
Browse files Browse the repository at this point in the history
support base32 padding
  • Loading branch information
tilkinsc committed Apr 27, 2024
2 parents 2c15a20 + 70161d8 commit f7eca66
Show file tree
Hide file tree
Showing 9 changed files with 1,675 additions and 1,529 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Cody Tilkins
Copyright (c) 2024 Cody Tilkins

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
34 changes: 17 additions & 17 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
@echo off

echo Compiling
gcc -O2 -Wall -shared -c cotp.c otpuri.c

echo Building DLL
gcc -O2 -Wall -shared -o libcotp.dll cotp.o otpuri.o -lcrypto

echo Building static library
ar rcs -o libcotp.a cotp.o otpuri.o

echo Building test C application
gcc -O2 -Wall -L . -I . -o test_c.exe test/main.c libcotp.a -lcrypto

echo Building test C++ application
g++ -O2 -Wall -L . -I . -o test_cpp.exe test/main.cpp libcotp.a -lcrypto

@echo off

echo Compiling
gcc -O2 -Wall -shared -c cotp.c otpuri.c

echo Building DLL
gcc -O2 -Wall -shared -o libcotp.dll cotp.o otpuri.o -lcrypto

echo Building static library
ar rcs -o libcotp.a cotp.o otpuri.o

echo Building test C application
gcc -O2 -Wall -L . -I . -o test_c.exe test/main.c libcotp.a -lcrypto

echo Building test C++ application
g++ -O2 -Wall -L . -I . -o test_cpp.exe test/main.cpp libcotp.a -lcrypto

Loading

0 comments on commit f7eca66

Please sign in to comment.