-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use botan.cert.x509.x509self #63
Comments
Have you tried latest version of LDC? Which compiler did you use? |
I tried with DMD v2.102.1 and ldc2-f397130d ("LDC 1.32.0-git-f397130 based on DMD v2.102.2 and LLVM 15.0.7"). GDC doesn't work either but that's related to SIMD. |
Have you tried building the selfsigned example? It seems to work on my end, what does your code look like? |
The self-signed example works. This code doesn't: #!/usr/bin/env dub
/+ dub.sdl:
name "botan_test"
dependency "botan" version="~>1.13.4"
+/
import botan.cert.x509.x509self;
import botan.pubkey.algo.rsa;
import botan.pubkey.pkcs8: BER_encode;
import botan.rng.rng;
void main() {
import std.stdio : writeln;
writeln("Hello, World!");
} |
Okay, adding the other imports in the example made it work, thanks. I keep the issue open if you want to add a static assert with a better error message, otherwise you can close it. |
I was thinking it might be a compiler bug related to the imports, I'll try and isolate it later. |
The |
Hey, thanks for your work!
However, I can't get
botan.cert.x509.x509self
to work. When imported, the D compiler is complaining:The text was updated successfully, but these errors were encountered: